\section{fsm\+\_\+pdo\+\_\+entry.\+c File Reference}
\label{fsm__pdo__entry_8c}\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}


Ether\+C\+AT P\+DO mapping state machine.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Request reading the number of mapped P\+DO entries. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Read number of mapped P\+DO entries. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Read P\+DO entry information. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Read next P\+DO entry. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Start P\+DO mapping. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Set the number of mapped entries to zero. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Add a P\+DO entry. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Set the number of entries. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Starts to add a P\+DO entry. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em State\+: E\+ND. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em State\+: E\+R\+R\+OR. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+fsm\+\_\+coe\+\_\+t} $\ast$fsm\+\_\+coe)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Print the current and desired P\+DO mapping. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave, \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$pdo)
\begin{DoxyCompactList}\small\item\em Start reading a P\+DO\textquotesingle{}s entries. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave, const \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$pdo, const \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$cur\+\_\+pdo)
\begin{DoxyCompactList}\small\item\em Start P\+DO mapping state machine. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running} (const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Get running state. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Executes the current state. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success} (const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Get execution result. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$ \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry} (const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$fsm, const struct list\+\_\+head $\ast$list)
\begin{DoxyCompactList}\small\item\em Process next P\+DO entry. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT P\+DO mapping state machine. 



\subsection{Function Documentation}
\mbox{\label{fsm__pdo__entry_8c_a91b94e5bb6447efa1b5ae0cd3d4730c9}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+start (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Request reading the number of mapped P\+DO entries. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 194 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a0c204a817d326f3d4119cc8f86b3f32c}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+count (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Read number of mapped P\+DO entries. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 211 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a452f05c76037fcdb86ac7319e3bd8bbb}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+state\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Read P\+DO entry information. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 272 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a147229463d9de8a76ce32b97582677a3}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+read\+\_\+action\+\_\+next (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Read next P\+DO entry. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 249 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_af96a2d52de92777a1c99b54c7f790a96}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+start (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Start P\+DO mapping. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 340 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_ac0240679910a202c9558679211d9520a}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+zero\+\_\+entry\+\_\+count (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Set the number of mapped entries to zero. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 384 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a638f155a57b99619c57ce643582f2546}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+map\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Add a P\+DO entry. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 448 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a76efeef6dfc6cb63aadbc753d2b856a6}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+state\+\_\+set\+\_\+entry\+\_\+count (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Set the number of entries. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 495 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a37af43c89c1ed43b61237ae6beaa62f0}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+action\+\_\+map (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Starts to add a P\+DO entry. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 419 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a70f92afd4c1165698e63d6baa4fec478}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+end (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



State\+: E\+ND. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 534 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a4d3c6b3eccecde57b3e2367b2ad8ceac}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+state\+\_\+error (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



State\+: E\+R\+R\+OR. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 523 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a133b853be4523479faa849c220581400}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+fsm\+\_\+coe\+\_\+t} $\ast$}]{fsm\+\_\+coe }\end{DoxyParamCaption})}



Constructor. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em fsm\+\_\+coe} & CoE state machine to use. \\
\hline
\end{DoxyParams}


Definition at line 68 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a825211609f332cdf5edeef3b472292d6}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Destructor. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
\end{DoxyParams}


Definition at line 81 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_ab33c67d8293c206239b5a3bb6fbbdd43}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+print (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Print the current and desired P\+DO mapping. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
\end{DoxyParams}


Definition at line 92 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a45b02eb267b7a6ca3307cd23f673c945}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave,  }\item[{\textbf{ ec\+\_\+pdo\+\_\+t} $\ast$}]{pdo }\end{DoxyParamCaption})}



Start reading a P\+DO\textquotesingle{}s entries. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em slave} & Slave to configure. \\
\hline
{\em pdo} & P\+DO to read entries for. \\
\hline
\end{DoxyParams}


Definition at line 107 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a74763c3c16724f3cb5822c62460b2014}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave,  }\item[{const \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$}]{pdo,  }\item[{const \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$}]{cur\+\_\+pdo }\end{DoxyParamCaption})}



Start P\+DO mapping state machine. 


\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em slave} & Slave to configure. \\
\hline
{\em pdo} & P\+DO with the desired entries. \\
\hline
{\em cur\+\_\+pdo} & Current P\+DO mapping. \\
\hline
\end{DoxyParams}


Definition at line 125 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_adbddb0a19f193283eddfc69f8027fa2e}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+running (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Get running state. 

\begin{DoxyReturn}{Returns}
false, if state machine has terminated 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
\end{DoxyParams}


Definition at line 151 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a3ff64581aa828daf9ba6baccf577e808}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Executes the current state. 

\begin{DoxyReturn}{Returns}
false, if state machine has terminated 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 165 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a9cf110dbdb0ddf854410f572b5a310e3}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Get execution result. 

\begin{DoxyReturn}{Returns}
true, if the state machine terminated gracefully 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
\end{DoxyParams}


Definition at line 181 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8c_a090a6a1025e45847bcfd1f7f885e0c1e}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry}!fsm\+\_\+pdo\+\_\+entry.\+c@{fsm\+\_\+pdo\+\_\+entry.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry()}
{\footnotesize\ttfamily \textbf{ ec\+\_\+pdo\+\_\+entry\+\_\+t}$\ast$ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+conf\+\_\+next\+\_\+entry (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{const struct list\+\_\+head $\ast$}]{list }\end{DoxyParamCaption})}



Process next P\+DO entry. 

\begin{DoxyReturn}{Returns}
Next P\+DO entry, or N\+U\+LL. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em list} & current entry list item \\
\hline
\end{DoxyParams}


Definition at line 369 of file fsm\+\_\+pdo\+\_\+entry.\+c.

